﻿<script src="jquery.js"></script>
<form id="regform">

<input type="hidden" name="countryNo" value="86" />

<input placeholder="手机号" id="phone" name="phone" autocomplete="off" />
 <span id="phoneerror"></span>
<br /><br />
 <input placeholder="昵称" name="nickName" />
 <br /><br />
 <input placeholder="验证码" id="yzm" />
<span id="yzmerror"></span>
<input type="button" value="发送验证码" 
id="yanzhengmaBtn"
 disabled /><br /><br />
<input placeholder="密码" name="pwd" id="pwd1" title="密码长度 6~16 位，数字、字母和符号至少包含两种" />
<span id="pwderror1"></span>
<br /><br />
<input placeholder="重复密码" id="pwd2" />
<span id="pwderror2"></span>
<br /><br />

<input type="checkbox" id="agreeCK" /> <a href="">注册协议</a> <br /><br />
<input type="button" id="submitBtn" value="注册" disabled /><br /><br />

</form>



<script src="reg.js"></script>

<!--
input 的onblur和onfocus事件，意思是当失去焦点时和当获得焦点时
onkeyup 当键盘弹起时，它的及时性很好
-->











